Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Device4to3.html |
Url | http://hl7.org/fhir/StructureMap/Device4to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Device4to3 |
Title | Device Transforms: R4 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | DeviceTransformsR4toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Device4to3' /// name = 'Device4to3' /// title = 'Device Transforms: R4 to R3' /// status = 'active' uses "http://hl7.org/fhir/4.0/Device" alias Device as source uses "http://hl7.org/fhir/3.0/Device" alias DeviceR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group Device(source src : Device, target tgt : DeviceR3) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.udiCarrier as vs0 -> tgt.udi as vt0 then { vs0.deviceIdentifier -> vt0.deviceIdentifier; vs0.jurisdiction -> vt0.jurisdiction; vs0.carrierHRF -> vt0.carrierHRF; vs0.carrierAIDC -> vt0.carrierAIDC; vs0.issuer -> vt0.issuer; vs0.entryType -> vt0.entryType; }; src.status -> tgt.status; src.type -> tgt.type; src.lotNumber -> tgt.lotNumber; src.manufacturer -> tgt.manufacturer; src.manufactureDate -> tgt.manufactureDate; src.expirationDate -> tgt.expirationDate; src.modelNumber -> tgt.model; src.version as vs -> tgt as vt then { vs.value -> tgt.version; }; src.deviceName as vs -> tgt.udi as vt then { vs.name -> vt.name; }; src.patient -> tgt.patient; src.owner -> tgt.owner; src.contact -> tgt.contact; src.location -> tgt.location; src.url -> tgt.url; src.note -> tgt.note; src.safety -> tgt.safety; }
{
"resourceType" : "StructureMap",
"id" : "Device4to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Device4to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Device4to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Device Transforms: R4 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/Device<span style=\"color: navy\">" </span><b>alias </b>Device <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Device<span style=\"color: navy\">" </span><b>alias </b>DeviceR3 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Device<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Device, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeviceR3<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.udiCarrier<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.udi<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.deviceIdentifier<span style=\"color: navy\"><b> -> </b></span>vt0.deviceIdentifier<span style=\"color: navy\">;</span>\r\n vs0.jurisdiction<span style=\"color: navy\"><b> -> </b></span>vt0.jurisdiction<span style=\"color: navy\">;</span>\r\n vs0.carrierHRF<span style=\"color: navy\"><b> -> </b></span>vt0.carrierHRF<span style=\"color: navy\">;</span>\r\n vs0.carrierAIDC<span style=\"color: navy\"><b> -> </b></span>vt0.carrierAIDC<span style=\"color: navy\">;</span>\r\n vs0.issuer<span style=\"color: navy\"><b> -> </b></span>vt0.issuer<span style=\"color: navy\">;</span>\r\n vs0.entryType<span style=\"color: navy\"><b> -> </b></span>vt0.entryType<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.lotNumber<span style=\"color: navy\"><b> -> </b></span>tgt.lotNumber<span style=\"color: navy\">;</span>\r\n src.manufacturer<span style=\"color: navy\"><b> -> </b></span>tgt.manufacturer<span style=\"color: navy\">;</span>\r\n src.manufactureDate<span style=\"color: navy\"><b> -> </b></span>tgt.manufactureDate<span style=\"color: navy\">;</span>\r\n src.expirationDate<span style=\"color: navy\"><b> -> </b></span>tgt.expirationDate<span style=\"color: navy\">;</span>\r\n src.modelNumber<span style=\"color: navy\"><b> -> </b></span>tgt.model<span style=\"color: navy\">;</span>\r\n src.version<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> as </b><span style=\"color: maroon\">vt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs.value<span style=\"color: navy\"><b> -> </b></span>tgt.version<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.deviceName<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.udi<b> as </b><span style=\"color: maroon\">vt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs.name<span style=\"color: navy\"><b> -> </b></span>vt.name<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -> </b></span>tgt.patient<span style=\"color: navy\">;</span>\r\n src.owner<span style=\"color: navy\"><b> -> </b></span>tgt.owner<span style=\"color: navy\">;</span>\r\n src.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.url<span style=\"color: navy\"><b> -> </b></span>tgt.url<span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.note<span style=\"color: navy\">;</span>\r\n src.safety<span style=\"color: navy\"><b> -> </b></span>tgt.safety<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Device4to3",
"version" : "0.1.0",
"name" : "Device4to3",
"title" : "Device Transforms: R4 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "DeviceTransformsR4toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/Device",
"mode" : "source",
"alias" : "Device"
},
{
"url" : "http://hl7.org/fhir/3.0/Device",
"mode" : "target",
"alias" : "DeviceR3"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to3"
],
"group" : [
{
"name" : "Device",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "Device",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DeviceR3",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "udiCarrier",
"source" : [
{
"context" : "src",
"element" : "udiCarrier",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "udi",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "deviceIdentifier",
"source" : [
{
"context" : "vs0",
"element" : "deviceIdentifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "deviceIdentifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "jurisdiction",
"source" : [
{
"context" : "vs0",
"element" : "jurisdiction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "carrierHRF",
"source" : [
{
"context" : "vs0",
"element" : "carrierHRF",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "carrierHRF",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "carrierAIDC",
"source" : [
{
"context" : "vs0",
"element" : "carrierAIDC",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "carrierAIDC",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "issuer",
"source" : [
{
"context" : "vs0",
"element" : "issuer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "issuer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "entryType",
"source" : [
{
"context" : "vs0",
"element" : "entryType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "entryType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "lotNumber",
"source" : [
{
"context" : "src",
"element" : "lotNumber",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "lotNumber",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "manufacturer",
"source" : [
{
"context" : "src",
"element" : "manufacturer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "manufacturer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "manufactureDate",
"source" : [
{
"context" : "src",
"element" : "manufactureDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "manufactureDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expirationDate",
"source" : [
{
"context" : "src",
"element" : "expirationDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expirationDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "modelNumber",
"source" : [
{
"context" : "src",
"element" : "modelNumber",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "model",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vs"
}
],
"target" : [
{
"variable" : "vt",
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "vs",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "deviceName",
"source" : [
{
"context" : "src",
"element" : "deviceName",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "udi",
"variable" : "vt"
}
],
"rule" : [
{
"name" : "name",
"source" : [
{
"context" : "vs",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "patient",
"source" : [
{
"context" : "src",
"element" : "patient",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "patient",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "owner",
"source" : [
{
"context" : "src",
"element" : "owner",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "owner",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "location",
"source" : [
{
"context" : "src",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "url",
"source" : [
{
"context" : "src",
"element" : "url",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "url",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "note",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "note",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "safety",
"source" : [
{
"context" : "src",
"element" : "safety",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "safety",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.